package com.css.ids.server.common;

import com.css.core.configuration.ConfigurationManager;

public class Constants {
	
	public static final int bufSize = 1024;
	public static final String zipEncoding = "utf-8";
	public static final String zipFormat = "yyyyMMddHHmmss";//打包颗粒的事件格式
	//打包成文件的路径
	public static String cachePath = "/usr/local/cssoa/ids/temp";
	public static String getCachePath(){
		return ConfigurationManager.getConfigurationManager().getSysConfigure("app.ids.cachePath","/usr/local/cssoa/ids/cache");
	}
	//缓存xmlstr的map大小
	public static final int cacheSize = 100;
	
	public static final int sendCount = 3;
	public static final int sendTime = 1000;
	
	/**用户名获取ID的数据缓存名称**/
	public final static String USER_ID_CACHE_NAME = "user_id_cached/";

}
